﻿using ZR.Model;
using ZR.Model.Souvenir;
using ZR.Model.Souvenir.Dto;

namespace ZR.Service.Souvenir.IService
{
    public interface IOrderItemService : IBaseService<OrderItem>
    {
        Task<int> InsertOrderItemAsync(OrderItem orderItem);
        
        Task<int> UpdateOrderItemAsync(OrderItem orderItem);

        Task<int> DeleteOrderItemAsync(int orderItemId);
        
        Task<PagedInfo<OrderItem>> SelectOrderItemWithPageAsync(OrderItemQueryDto orderItemQueryDto);
        
        Task<OrderItem> SelectOrderItemAsyncById(int orderItemId);
    }
}